<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.grep.extra.dao.impl.TaskDAOSQL"%>
<%
	request.setCharacterEncoding("UTF-8");

	TaskDAOSQL taskDaoSql = new TaskDAOSQL();

	String taskid = request.getParameter("taskid");
	String urlLink = request.getParameter("urllink");

	boolean issuccess = taskDaoSql.insertTaskURL(taskid, urlLink);

	if (issuccess) {
		response.getWriter().println("添加成功");
	} else {
		response.getWriter().println("添加失败");
	}
%>